set(HIREDIS_ROOT ${CMAKE_SOURCE_DIR}/libs/hiredis)
set(HIREDIS_INCLUDE_DIR ${HIREDIS_ROOT}/include)
set(HIREDIS_LIBRARY_DIR ${HIREDIS_ROOT}/${CURRENT_SYSTEM}/${CURRENT_PLATFORM}/${CMAKE_BUILD_TYPE})

message(STATUS "Hiredis_INCLUDE_DIR=${HIREDIS_INCLUDE_DIR}")
message(STATUS "Hiredis_LIBRARY_DIR=${HIREDIS_LIBRARY_DIR}")

include_directories(
    ${HIREDIS_INCLUDE_DIR}
)

link_directories(${HIREDIS_LIBRARY_DIR})
